[NTG-context] indent in \setuptyping

2022-06-29 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \showframe \setuppapersize[A8] \setuptyping [align={right,broad}, strip=yes, lines=yes, blank=halfline] \starttext \startXML content content content content content content content content

Re: [NTG-context] \sciteinlinebuffer inherits margin properties

2022-06-04 Thread Otared Kavian via ntg-context
Hi Pablo, The example you gave in your first message about the Scite module, that is: \usemodule[scite] \starttext \startXML ñ\stopXML \stoptext gives an error on my machine (MacOS 11.6.5 and Context version 2022.05.11 11:36), with Context saying: « The file ended when scanning

[NTG-context] issue with scite module

2022-06-04 Thread Pablo Rodriguez via ntg-context
Dear list, I have this minimal sample (with current latest from 2022.05.11 11:36 on Linux64): \usemodule[scite] \starttext \startXML ñ\stopXML \stoptext Commenting out the first line avoids compilation error. Replacing ñ with n also allows compilation. I think there may be an error

Re: [NTG-context] \startXML vs \startPARSEDXML

2022-05-12 Thread Denis Maier via ntg-context
driguez > Betreff: Re: [NTG-context] \startXML vs \startPARSEDXML > > On 5/11/22 11:47, Denis Maier via ntg-context wrote: > > Hi everyone, > > > > the wikipage on \starttyping > > (https://wiki.contextgarden.net/Command/_starttyping > > <https://wiki.cont

Re: [NTG-context] \startXML vs \startPARSEDXML

2022-05-11 Thread Pablo Rodriguez via ntg-context
On 5/11/22 11:47, Denis Maier via ntg-context wrote: > Hi everyone, > > the wikipage on \starttyping > (https://wiki.contextgarden.net/Command/_starttyping > <https://wiki.contextgarden.net/Command/_starttyping>) says there are > some dedicated commands, e.g. \startXML and

[NTG-context] \startXML vs \startPARSEDXML

2022-05-11 Thread Denis Maier via ntg-context
Hi everyone, the wikipage on \starttyping (https://wiki.contextgarden.net/Command/_starttyping) says there are some dedicated commands, e.g. \startXML and \startPARSEDXML. How do they differ? Best, Denis

Re: [NTG-context] UTF8 chars in attribute values (XML)

2019-05-21 Thread Hans Hagen
On 5/19/2019 7:38 PM, Pablo Rodriguez wrote: Hi Hans, I’m afraid I found another issue with UTF8 chars in attribute values when printing them. \starttext \startTEXpage[offset=1em] \startXML \stopXML \stopTEXpage \stoptext Inspecting buff-imp-xml.lua, I

[NTG-context] UTF8 chars in attribute values (XML)

2019-05-19 Thread Pablo Rodriguez
Hi Hans, I’m afraid I found another issue with UTF8 chars in attribute values when printing them. \starttext \startTEXpage[offset=1em] \startXML \stopXML \stopTEXpage \stoptext Inspecting buff-imp-xml.lua, I understand that "alsoname" should be added to &q

Re: [NTG-context] setuptyping

2018-09-11 Thread Wolfgang Schuster
e: To limit the smaller font to \starttyping it should be     \setuptyping [typing] [style=\ttxx] or     \setuptyping [typing] [style=smalltype] because \starttyping is a generated command like \startXML. Wolfgang Taco Hoekwater schrieb am 10.09.18 um 11:32: Hi Hans, Repl

Re: [NTG-context] setuptyping

2018-09-10 Thread Wolfgang Schuster
To limit the smaller font to \starttyping it should be     \setuptyping [typing] [style=\ttxx] or     \setuptyping [typing] [style=smalltype] because \starttyping is a generated command like \startXML. Wolfgang Taco Hoekwater schrieb am 10.09.18 um 11:32: Hi Hans, Replace your two

[NTG-context] setuptyping

2018-09-10 Thread Hans van der Meer
I want to differentiate the typing of XML-code with \startXML and other text with \starttyping.That doesn’t work as I expect or I misinterpret something.The minimal example shows that in the following code there is no difference between using  \startXML or \starttyping typingsetup.pdf Description

Re: [NTG-context] type and typing comments for TeX and Lua

2017-12-26 Thread SteamedFish
comment: \inlineTEX{ag%befe} \Lua\ inline comment: \inlineLUA{agb --efe} \startTEX This is text. % a comment, not \comment \stopTEX \startXML This is text. \stopXML \startLUA if code=="code" then --this is a comment \stopLUA \stopTEXpage \stoptext > On 22 Dec 2017, at 4

Re: [NTG-context] type and typing comments for TeX and Lua

2017-12-21 Thread Christoph Reller
\context{ag%befe} > > \Lua\ inline comment: \lua{agb --efe} > > \startTEX > This is text. % a comment, not \comment > \stopTEX > > \startXML > This is text. > \stopXML > > \startLUA > if code=="code" then

Re: [NTG-context] type and typing comments for TeX and Lua

2017-12-20 Thread Hans Hagen
} \Lua\ inline comment: \lua{agb --efe} \startTEX This is text. % a comment, not \comment \stopTEX \startXML This is text. \stopXML \startLUA if code=="code" then --this is a comment \stopLUA \stopTEXpage \stoptext Would it b

Re: [NTG-context] type and typing comments for TeX and Lua

2017-12-19 Thread Aditya Mahajan
, not \comment \stopTEX \startXML This is text. \stopXML \startLUA if code=="code" then --this is a comment \stopLUA \stopTEXpage \stoptext Would it be possible that all comments in type and typing (at least, for Lua, XML and TeX) would have the same formatting for

[NTG-context] type and typing comments for TeX and Lua

2017-12-18 Thread Pablo Rodriguez
} \startTEX This is text. % a comment, not \comment \stopTEX \startXML This is text. \stopXML \startLUA if code=="code" then --this is a comment \stopLUA \stopTEXpage \stoptext Would it be possible that all comments in type and typing (at least, fo

[NTG-context] three issues with \setuptyping

2017-10-21 Thread Pablo Rodriguez
Hans, [I have reported this before the meeting, but it was wiser to wait after the meeting was over.] I have the following sample: %~ \usemodule[scite] \starttext \startTEXpage[offset=2em] \startTEX This is text. % a comment, not \comment \stopTEX \startXML

[NTG-context] (again) issues with typing

2017-08-16 Thread Pablo Rodriguez
[offset=1em] \startTEX This is text. % and this is a comment \stopTEX \startXML This is text. \stopXML \startLUA if code=="code" then --this is a comment --[[ this is a multiline comment --]] ---[[ this isn’t a multili

[NTG-context] comment colors in \typebuffers

2017-08-08 Thread Pablo Rodriguez
Hans, I have the following sample: \starttext \startTEXpage[offset=1em] \startTEX This is text. % and this is a comment \stopTEX \startXML This is text. \stopXML \startLUA if code=="code" then --this is a comment --[[ and this is a

[NTG-context] xml verbatim in xml...

2017-08-08 Thread Schmitz Thomas A.
} \startluacode function xml.functions.processXML(t) buffers.assign("MyXml", "\\startXML\n" .. tostring(xml.text(t)) .. "\n\\stopXML") context.getbuffer { "MyXml" } end \stopluacode \startxmlsetups xml:a \xmlflush{#1} \st

[NTG-context] inline code in XML

2017-07-28 Thread Pablo Rodriguez
Hans, many thanks for having added \xmlprettyprinttext to ConTeXt. I have now another problem with inline code: \definetype[TeX][option=TEX, lines=hyphenated] \starttext \startTEXpage[offset=1em] This is inline code: \TeX{\command[option=value]{final text}} \startXML Inline code: \TeX[option

[NTG-context] TEX and XML typing with trailing interline space

2014-08-18 Thread Christoph Reller
interline space \hrule \startXML tag/tag \stopXML \hrule \medskip \setuptyping[before=,after=] % - works as expected \hrule \starttyping \TeX \stoptyping \hrule \stoptext Thank you for any advice! Christoph ___ If your

[NTG-context] custom colors for verbatim in mkiv

2010-12-02 Thread Thomas A. Schmitz
, backgroundscreen=.9]}, after={\stopframedtext}] \definepalet[MYcolors] [prettyone=paleblue, prettytwo=palecyan, prettythree=palered, prettyfour=darkgreen] \definepalet[XMLcolorpretty][MYcolors] \starttext \startXML main type=importanthello

Re: [NTG-context] custom colors for verbatim in mkiv

2010-12-02 Thread Hans Hagen
\setupstartstop[XmlSnippetName][color=magenta,style=\bfa] \starttext \startXML main type=importanthello world/main \stopXML \stoptext Hans - Hans Hagen | PRAGMA ADE Ridderstraat

Re: [NTG-context] :: in xml?

2007-07-11 Thread Christopher Creutzig
Christopher Creutzig wrote: \starttext \startXML aa::b/a \stopXML \stoptext The problem is the \setpretty`\:=10 in \XMLsetspecials in verb-xml.tex. This should only be done inside Suggested patch (I hope it survives being sent by mail): --- verb-xml.tex.orig 2007-07-11 11:08

[NTG-context] :: in xml?

2007-07-10 Thread Christopher Creutzig
Salvete, trying to typeset an unchanged old file with a more recent ConTeXt version, I keep running into problems. I have reduced the first of these (others may or may not be symptoms of the same, I'll see that later) to this input: \starttext \startXML aa::b/a \stopXML \stoptext It seems

Re: [NTG-context] How to customize the default verbatim colors

2005-08-27 Thread Taco Hoekwater
\startXML ns:tag attribute=somevalue / \stopXML \stoptext %% You can use \setpretty`\:=17 instead, if you want the colon to be indistinguisable from the rest of the tag. The line I've marked 'TRICK' is needed to make sure that the original definition of \XMLsetspecials is loaded before the new

Re: [NTG-context] How to customize the default verbatim colors

2005-08-25 Thread Taco Hoekwater
[state=start] \setuptyping[option=color] \starttext \startXML ... \stopXML \stoptext Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context